SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.11259 · ICLR · 2022

Controlling Directions Orthogonal to a Classifier

Tommi Jaakkola, Yilun Xu, Hao He, Tianxiao Shen

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
newbeeer/orthogonal_classifier — 3 of 6
FunctionStatusWhere it lives
Featurizer Ran newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("20eba8a32c4f4158")
MNIST_CNN Ran newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("0630c355646ca40d")
SqueezeLastTwo Ran newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("339f350fff5dd33c")
Algorithm Not yet run newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("448c00adc68aba1e")
EC Not yet run newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("48e9a562be89feeb")
ResNet Not yet run newbeeer/orthogonal_classifier/style_transfer/algorithms.py
pointer only (licence: NONE) · get_code("8eb84d95ee592c49")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose to identify directions invariant to a given classifier so that these directions can be controlled in tasks such as style transfer. While orthogonal decomposition is directly identifiable when the given classifier is linear, we formally define a notion of orthogonality in the non-linear case. We also provide a surprisingly simple method for constructing the orthogonal classifier (a classifier utilizing directions other than those of the given classifier). Empirically, we present three use cases where controlling orthogonal variation is important: style transfer, domain adaptation, and fairness. The orthogonal classifier enables desired style transfer when domains vary in multiple aspects, improves domain adaptation with label shifts and mitigates the unfairness as a predictor. The code is available at https://github.com/Newbeeer/orthogonal_classifier.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2201.11259")
get_code_for_paper("2201.11259")
have("2201.11259")

Connect an agent — have() is free.