by omoikane · 3y ago · 0 comments
ddddd dfddd dffdd dfdfd ddfff ddfdd fdffd dffdf ddfff fdfdf
dfffd ffdff fffff dffff ffddf fffdf dfffd ffdff ffffd ddfff
Generated using this Perl script: my %table = ();
my $s = "fffff";
for(my $i = 0; $i < 100; $i++)
{
if( $i % 5 == 0 )
{
print $i % 50 == 0 ? "\n" : " ";
}
my $output;
if( exists $table{$s} )
{
# Output opposite of what would be predicted.
$output = $table{$s}{"f"} > $table{$s}{"d"} ? "d" : "f";
$table{$s}{$output}++;
}
else
{
# No prediction yet. Original source defaults to "f", so we will
# output "d".
$output = "d";
$table{$s}{"d"} = 1;
$table{$s}{"f"} = 0;
}
print $output;
$s = substr($s, 1) . $output;
}
print "\n";
If you can type carefully, increasing the length to 200 brings the prediction rate down to 10%.[1] https://github.com/elsehow/aaronson-oracle/blob/master/src/i...
table = {}
s = 'ddddd'
for i in range(100):
if i%5 == 0:
print(s)
state = table.setdefault(s, {'f':0, 'd':0})
s = s[1:] + ('f' if state['f'] <= state['d'] > 0 else 'd')
state[s[-1]] += 1if you are inspecting the prediction algorithm, and you want to specifically defeat it, doesn't that mean copy the prediction algorithm and throw a "not" on it? It's the old halting problem trick...
I just spammed F and randomly hit D and it pretty much never predicted the D.
Which I think captures a fundamental flaw in algorithms vs humans. Humans know how to mask their signals within noise. I'm inclined to believe the generalization that algorithms that aim for accuracy are highly susceptible to being manipulated by humans who are allowed to have free will over the inputs.
It's (also?) a weakness in humans: someone mostly does X, we lean very strongly into the assumption that they will never do !X. This is one of the most basic elements of human-to-human deceipt since ... well, since the dawn of any kind of recorded/remembered human history.
I think this is a sound strategy for “getting away with it” in society.
in any case, my post was serious, regardless of the % number, if you are inspecting their algorithm and writing your own, I can't understand why you wouldn't use theirs in yours. Finding an isomorphism might be fun, but it's not necessary.
Your interpretation of the goal is also valid, but not in a cryptography context, for example.
ddddd dfddd dffdd dfdfd ddfff ddfdd fdffd
That's only 10%.