Let $B=\{0,1\}^n$ be the set of length $n$ bit-strings with the uniform distribution, and let $\mathcal{F}=\{f:B\to \{0,1\}\}$ be the set of all binary functions on $B$.
What is the maximal size of an independent collection of functions from $\mathcal{F}$? I.e., what is the largest $N$ such that there exist $f_i\in\mathcal{F}$ with $$ \mathbb{P}(f_i=\epsilon_i, i\in I)=\prod_{i\in I}\mathbb{P}(f_i=\epsilon_i) $$ for all choices $\epsilon_i\in\{0,1\}$ and subsets $I\subseteq\{1,\ldots, N\}$?
I guess this is equivalent to asking for the maximal number of independent subsets of $B$, i.e. what is the largest number $N$ such that there exist $A_i\subseteq B$ with $$ \mathbb{P}\left(\bigcap_{i\in I}A_i\right)=\prod_{i\in I}\mathbb{P}(A_i), $$ for all $I\subseteq\{1,\ldots, N\}$, where $\mathbb{P}(A)=|A|/2^n$?
I don't see any way to count these off the top of my head, although there are maybe some obvious sets of independent functions (e.g. the coordinate functionals). Perhaps this is the best one can do, the intuition being "$n$ independent bits $\Leftrightarrow$ $n$ independent subsets"? (Disregarding the "trivial" events $\emptyset$, $B$, corresponding to constant functions.)
The paper Independent Events in a Discrete Uniform Probability Space considers the problem more generally, with the uniform distribution on finite sets.
Theorem 5 there backs up the "intuitive" answer $N=n$ to my question (ignoring constant functions/(co)null sets).