Mac Lane's planarity criterion states that a graph is planar if and only if it has a cycle basis such that each edge is contained in at most two cycles, we call such a basis a 2-basis. A 2-basis of a planar graph can easily be computed by finding an embedding and taking the faces of the graph as the cycle basis.
I am interested in the more general algebraic problem. Let $V$ be some $n$-dimensional vector space over $\mathbb{Z}_2$ that has a 2-basis. That is, there exists a set of linearly independent vectors $\{b_1,\dots,b_n\}$ such that the matrix $B$, whose columns are these vectors, contains at most 2 non-zero entries in each row. If I am given an arbitrary basis for $V$ is there an algorithm to find 2-basis?
I'm not concerned with the running time, so I'd still be interested in seeing an inefficient approach. Are there any planarity testing algorithms that solve the algebraic problem? Has this problem been studied in any other contexts?